<%--
  Created by IntelliJ IDEA.
  User: 董春光
  Date: 2020-08-11
  Time: 14:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath()+"/";
%>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>建卡</title>
    <script src="js/jquery.min.js"></script>
    <script>
        $(function () {



        });
        function aj() {
            $.get("Initialize/getcardnum",function (data) {
                $("#cardnum").val(data);
            });
        }

    </script>
</head>
<body>
<form action="addcard" method="post">
   卡号： <input type="text" name="buildCardId" id="cardnum"><input type="button"  onclick="aj()" value="获取卡号">
   姓名： <input type="text" name="buildCardName">
   性别： <input type="radio" name="buildCardSex" value="男">男
         <input type="radio" name="buildCardSex" value="女">女
   年龄： <input type="text" name="buildCardOld"><br>
   身份证号： <input type="text" name="buildCardIdCard">
    电话号：<input type="text" name="buildCardPhone"><br>
    地址：<input type="text" name="buildCardAddress">
   出生日期： <input type="date" name="buildCardDate"><br>
    <input type="submit" value="提交">
</form>


</body>
</html>
